#include <stdio.h>
int main(void)
{
    int a, b, c, d;
    scanf("%d%d%d", &a, &b, &c);
    d = (a > b) ? a : b;
    d = (c > d) ? c : d;
    printf("%d", d);
    return 0;
}
/*This is a test for amending the latest commit */
